package com.jk.service;


import com.alibaba.fastjson.JSONObject;
import com.jk.entity.*;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.List;

/**
 * @author 周慧茹
 * 创建时间 2018/4/8
 */
public interface UserService {

    User query();

   void saveShop(Order testMap);

    void saveDummyorder(String cookiewy,HashMap<String, List<Shop>> map);

    ResponseMessage getService(String userid,HashMap<String, List<Shop>> map,String cookiewy);


    ResponseMessage ShoppingCar(String shopid, Integer shopcount,String userid,String cookiewy);

    ResponseMessage DummyShoppingCar(String shopid,Integer shopcount, String cookiewy);

    JSONObject pageShopCar(String offset, String limit);

    ResponseMessage queryShopbycookie(String cookiewy,String  userid);

    List<ShopCar> getShopCarList(int start, Integer limit);

    String quercommodityByid(String shopid);

    HashMap<String, List<Shop>>  getShopCarbyUserid(String ids);

    HashMap<String, List<Shop>> getShopCarbyCookieid(String ids);

    Integer getShopCountMin(String shopid);
}
